<template>
  <div>
    <h3>当前的count值为：{{count}}</h3>
    <button>+1</button>
  </div>
</template>

<script>
    import {mapState} from 'vuex'

    export default {
      name: "Addition"

      ,
      computed:{
          ...mapState(['count'])
      }

    }
</script>

<style scoped>

</style>
